{template header}
<div class="container">

    <ol class="breadcrumb">
        <li><a href="{SITE_URL}">首页</a></li>
        <li><a href="{tsUrl('ask')}">问答</a></li>
        <li class="active">{$tagname}</li>
    </ol>

    <div class="panel panel-default">
        <div class="panel-body">

            <div class="row" id="wrap">
                <div class="col-md-8">

                    <div class="main-tag">
                        <div id="mainTag" class="pack">
                            <h2><span class="tag">{$tagname}<span class="followCounter">{$askNum}</span></span></h2>

                        </div>

                    </div>


                    <div class="main-title-line"></div>

                    {loop $arrAsk $v}
                    <div class="ask">
                        <div class="ask-hd">
                            <h2><a href="{tsUrl('ask', 'question', array('id'=>{$v['askid']}))}" >{$v['title']}</a></h2>
                            <p class="ask-hd-r">答案&nbsp;{$v['count']}</p>
                        </div>


                        <div class="ask-bd">
                            <div class="pack">

                                <p class="ask-bd-txt">
                                    {php echo cututf8(t($v['content']),0,120)}<a  href="{tsUrl('ask', 'question', array('id'=>{$v['askid']}))}">查看全部</a></p>
                            </div>
                        </div>




                    </div>
                    {/loop}

                    <div class="page mt20">
                       {$pageUrl}
                    </div>

                </div>

                <div class="col-md-4">
                    <p class="side-back"><a href="{tsUrl('ask')}">&gt;&nbsp;返回问答首页</a></p>


                    <!--广告位-->
                    {php doAction('gobad','300')}

                </div>
            </div>
        </div>
    </div>

    <div class="bottom"></div>
</div>
{template footer}